package com.wujing.scala.first4Day


/**
 * 关系运算符 & 逻辑运算符  & 赋值运算符
 *
 *
 * 结果都是boolean
 *
 *
 */
object operationDemo03 {

  def main(args: Array[String]): Unit = {



    var c=2
     c <<= 2
    println(c)

    println("==========")

    val a1 = true
    val b1 = false

    println(a1 && b1)
    println(a1 || b1)
    println(!(a1 && b1))

    println("=======")


    val a = 10
    val b = 1
    println(a > b)
    println(a < b)
    println(a >= b)
    println(a <= b)
    println(a != b)
    println(a == b)

  }
}
